package com.java2_22_1;

//工具类，final + private + static
public final class MyMath {
    private MyMath() {
    }

    public static int add(int x, int y) {
        return x + y;
    }

    public static int del(int x, int y) {
        return x - y;
    }

    public static int mul(int x, int y) {
        return x * y;
    }

    public static int div(int x, int y) {
        return x / y;
    }

}
